package com.ruoyi.standingbook.v2toilet;

/**
 * 用于判断
 */
public enum ItemImageEnum {
    C0101("openedBefore", "opened_before", "公厕正常开放图片（处理前）", 29),
    C0102("openedAfter", "opened_after", "公厕正常开放图片（处理后）", 30),
    C0201("logoBefore", "logo_before", "公共洗手间标识图片（处理前）", 31),
    C0202("logoAfter", "logo_after", "公共洗手间标识图片（处理后）", 32),
    C0301("ventilateBefore", "ventilate_before", "通风除臭（处理前）", 33),
    C0302("ventilateAfter", "ventilate_after", "通风除臭（处理后）", 34),
    C0401("handBasinBefore", "hand_basin_before", "洗手盆（台）（处理前）", 35),
    C0402("handBasinAfter", "hand_basin_after", "洗手盆（台）（处理后）", 36),
    C0501("waterFaucetBefore", "water_faucet_before", "水龙头（处理前）", 37),
    C0502("waterFaucetAfter", "water_faucet_after", "水龙头（处理后）", 38),
    C0601("handryBefore", "handry_before", "擦手纸或干手纸（处理前）", 39),
    C0602("handryAfter", "handry_after", "擦手纸或干手纸（处理后）", 40),
    C0701("handSanitizerBefore", "hand_sanitizer_before", "洗手液（处理前）", 41),
    C0702("handSanitizerAfter", "hand_sanitizer_after", "洗手液（处理后）", 42),
    C0801("masksBefore", "masks_before", "面镜（处理前）", 43),
    C0802("masksAfter", "masks_after", "面镜（处理后）", 44),
    C0901("floorBefore", "floor_before", "地面（处理前）", 45),
    C0902("floorAfter", "floor_after", "地面（处理后）", 46),
    C1001("wallspaceBefore", "wallspace_before", "窗户、墙壁（处理前）", 47),
    C1002("wallspaceAfter", "wallspace_after", "窗户、墙壁（处理后）", 48),
    C1101("ceilingBefore", "ceiling_before", "天花板（处理前）", 49),
    C1102("ceilingAfter", "ceiling_after", "天花板（处理后）", 50),
    C1201("lightsBefore", "lights_before", "照明设施（处理前）", 51),
    C1202("lightsAfter", "lights_after", "照明设施（处理后）", 52),
    C1301("innerCleanBefore", "inner_clean_before", "厕内整洁（处理前）", 53),
    C1302("innerCleanAfter", "inner_clean_after", "厕内整洁（处理后）", 54),
    C1401("cubicleBefore", "cubicle_before", "厕门、厕位隔断（处理前）", 55),
    C1402("cubicleAfter", "cubicle_after", "厕门、厕位隔断（处理后）", 56),
    C1501("cubicleTissueBefore", "cubicle_tissue_before", "厕间纸巾（处理前）", 57),
    C1502("cubicleTissueAfter", "cubicle_tissue_after", "厕间纸巾（处理后）", 58),
    C1601("toiletBefore", "toilet_before", "大小便器（处理前）", 59),
    C1602("toiletAfter", "toilet_after", "大小便器（处理后）", 60),
    C1701("roomCleanBefore", "room_clean_before", " 厕间干净（处理前", 61),
    C1702("roomCleanAfter", "room_clean_after", " 厕间干净（处理后", 62),
    C1801("flushingBefore", "flushing_before", " 冲水设备（处理前）", 63),
    C1802("flushingAfter", "flushing_after", " 冲水设备（处理后）", 64),
    C1901("grabarBefore", "grabar_before", "大便厕位安全扶手（处理前）", 65),
    C1902("grabarAfter", "grabar_after", "大便厕位安全扶手（处理后）", 66),
    C2001("hardwareBefore", "hardware_before", "手纸架、挂钩、搁物板（处理前）", 67),
    C2002("hardwareAfter", "hardware_after", "手纸架、挂钩、搁物板（处理后）", 68),
    C2101("childHandBasinBefore", "child_hand_basin_before", "儿童洗手盆（处理前）", 69),
    C2102("childHandBasinAfter", "child_hand_basin_after", "儿童洗手盆（处理后）", 70),
    C2201("barrierfreeFacilitiesBefore", "barrierfree_facilities_before", "无障碍设施（处理前）", 71),
    C2202("barrierfreeFacilitiesAfter", "barrierfree_facilities_after", "无障碍设施（处理后）", 72),
    C2301("babyCareRoomBefore", "baby_care_room", "母婴室（处理前）", 73),
    C2302("babyCareRoomAfter", "baby_care_room", "母婴室（处理后）", 74),


    ORIGINAL_IMAGE("originalImage", "original_image", "记录表图片",28),


    NONE("", "", "-", -1);

    public final String attr;
    public final String column;
    public final String head;
    public final int index;


    ItemImageEnum(String attr, String column, String head, int index) {
        this.head = head;
        this.attr = attr;
        this.column = column;
        this.index = index;
    }

    public static ItemImageEnum getExcelHead(String attr) {
        for (ItemImageEnum t : ItemImageEnum.values()) {
            if (t.attr.equalsIgnoreCase(attr))
                return t;
        }
        return NONE;
    }
}
